home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1994 October
/
Macformat17.cdr
/
Shareware City
/
Developers
/
MacAppMods1.0d3
/
MacAppHeaders.h
< prev
next >
Wrap
Text File
|
1994-06-25
|
1KB
|
35 lines
/**********************************************************************
The _940613CWBug token is added for a CW Bug in the 6-13-94 MPTP compiler.
If you are using DR3, CW3.5 or a later MPTP version, leave the following
define commented out. It only affects code in PascalString.cp and .h;
search for _940613CWBug (This define is put here because I wanted to set
a temporary define since this is just a "temporary" bug. Besides it's a
good demonstration of how you might add defines. If you add them within
the else but after the include, they can be added to all of your source and
you don't have to re-precompile. See below.)
**********************************************************************/
#define WantToPrecompile 0 //set to 1 if you want to precompile; 0 normally
#if WantToPrecompile
//#define _940613CWBug
#define wantDebugging 0 //this affects whether qDebug, qTheDebugger, etc get set
//in MacAppHeaders.cp
#include <MacAppHeaders.cp>
#else
#ifdef powerc
#include <MacAppHeadersPPC_DR3> //or whatever you call your DR3 headers
#else
#include <MacAppHeaders68K_DR3> //or whatever you call your DR3 headers
#endif
/*
#define flag1 1
#define flag2 0
#include <MyApp.h>
#include <MyUtils.h>
...
*/
#endif